#ifndef		Game__Shell_h
#define		Game__Shell_h

#include	"Helper.h"
#include	<Map/Map.h>
#include	<Math/Vector.h>
#include	<list>

class Shell
{
public:
	Shell(Map * map, Facing facing, const Vector2i & spawn, float distance, bool players);
	void update(double delay);
	void render() const;
	bool isActive() const;
	Vector2f getPos() const;
	bool isPlayers() const;
private:
	enum Facing m_facing;
	Vector2i m_spawn;
	float m_distance;
	float m_speed;
	Map * m_map;
	bool m_active;
	bool m_players;
public:
	static const float DEFAULT_SPEED;
	static const float SIZE;
};

#endif	//	Game__Shell_h

